package com.mingqijia.gassafety.db.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mingqijia.gassafety.db.entity.RunningReportData;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 运行报告数据表 Mapper 接口
 * </p>
 *
 * @author mby
 * @since 2024-03-11
 */
@Mapper
@Repository
public interface RunningReportDataMapper extends BaseMapper<RunningReportData> {

    List<RunningReportData> queryAlarmSummaryList(@Param("reportId")Integer reportId);

    List<RunningReportData> queryDataGroupByTypeAndReason(@Param("reportId")Integer reportId);

}
